package com.yang.service.impl;

import com.yang.mapper.SexMapper;
import com.yang.pojo.Sex;
import com.yang.service.SexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SexServiceImpl implements SexService {
    @Autowired
    private SexMapper sexMapper;
    @Override
    public List<Sex> allMale() {
        List<Sex> sexes = sexMapper.allMale();
        return sexes;
    }
}
